<div id="doc-oc-left" class="am-offcanvas">
    <div class="am-offcanvas-bar" style="background-color: #ffffff; width: 250px">
        <div class="am-offcanvas-content">
            <ul class="am-list">
                <li>
                    <a>
                        <span style="color: white; position: absolute; top: 36%; left: 10px">管理员</span>
                        <img id="user_bar_avatar" class="am-circle" alt="" src="<?= $userAvatar ?>" width="60"
                             height="60"/>
                        <span id="user_bar_name" class="app-black-color"
                              style="padding-left: 20px"><b><?= $userName ?></b></span>
                        <i onclick="menu_l_close();goto_ad_msg(201);" class="am-icon-commenting app-main-color"
                           style="position: absolute; top: 35%; right: 12px"></i>
                        <i id="admin_msg_noread_icon"
                           class="am-icon-circle"
                           style="color: red; font-size: 8px; position: absolute; top: 35%; right: 8px; display: none"></i>
                    </a>
                </li>
                <li>
                    <a onclick="menu_l_close();act_content(this)"
                       data-forward="controller=works_list&list_type=0">
                        <i class="am-icon-list-ul am-icon-fw app-main-color"></i>
                        &nbsp;
                        <span class="app-black-color">管理作品</span>
                        <i class="am-icon-angle-right" style="position: absolute; right: 8px"></i>
                    </a>
                </li>
                <li>
                    <a onclick="menu_l_close();act_content(this)"
                       data-forward="controller=topic_edit&topic_admin_sele_view=1">
                        <i class="am-icon-columns am-icon-fw app-main-color"></i>
                        &nbsp;
                        <span class="app-black-color">专题管理</span>
                        <i class="am-icon-angle-right" style="position: absolute; right: 8px"></i>
                    </a>
                </li>
                <li>
                    <a onclick="menu_l_close();act_content(this)"
                       data-forward="controller=user_list&list_type=2">
                        <i class="am-icon-user am-icon-fw app-main-color"></i>
                        &nbsp;
                        <span class="app-black-color">用户管理</span>
                        <i class="am-icon-angle-right" style="position: absolute; right: 8px"></i>
                    </a>
                </li>
                <li>
                    <a onclick="menu_l_close();goto_user_buy_record()">
                        <i class="am-icon-credit-card am-icon-fw app-main-color"></i>
                        &nbsp;
                        <span class="app-black-color">购买记录</span>
                        <i class="am-icon-angle-right" style="position: absolute; right: 8px"></i>
                    </a>
                </li>
            </ul>
            <div style="position: absolute; bottom: 10px">
                <a onclick="menu_l_close();toppage_to_worklist()">
                    <i class="am-icon-home am-icon-fw app-main-color"></i>&nbsp;<span class="app-black-color">首页</span>
                </a>
                <span>&nbsp;&nbsp;&nbsp;</span>
                <a onclick="menu_l_close();toppage_to_topic()">
                    <i class="am-icon-calendar am-icon-fw app-main-color"></i>&nbsp;<span
                            class="app-black-color">专题</span>
                </a>
                <span>&nbsp;&nbsp;&nbsp;</span>
                <a data-forward="controller=user_cfg"
                   onclick="menu_l_close();act_content(this)">
                    <i class="am-icon-cog am-icon-fw app-main-color"></i>&nbsp;<span class="app-black-color">设置</span>
                </a>
            </div>
        </div>
    </div>
</div>
<!-- 用户管理操作弹出框 -->
<div class="am-modal-actions" id="user_manage_actions">
    <div class="am-modal-actions-group">
        <ul class="am-list">
            <li class="am-modal-actions-header" style="padding: 35px 0; color: black">
                <b data-user-state="" data-user-id="" id="user_manage_action_name">XXXX</b>
            </li>
            <li class="app-main-color">
                <a data-am-modal-close onclick="user_manage_edit()">
                    编辑资料
                </a>
            </li>
            <li class="app-main-color">
                <a id="user_manage_action_stop" data-am-modal-close onclick="user_manage_stop()"></a>
            </li>
        </ul>
    </div>
    <div class="am-modal-actions-group">
        <button class="am-btn am-btn-secondary am-btn-block" data-am-modal-close>取消</button>
    </div>
</div>
<!-- 专题审批操作弹出框 -->
<div class="am-modal-actions" id="topic_work_check_actions" data-topic="" data-work="">
    <div class="am-modal-actions-group">
        <ul class="am-list">
            <li class="am-modal-actions-header" style="padding: 20px 0; color: black">
                《<span id="topic_work_check_actions_work_name">XXXX</span>》<br>
                申请加入<br>
                <span id="topic_work_check_actions_topic_name">XXXX</span>
            </li>
            <li class="app-main-color">
                <a data-am-modal-close onclick="topic_work_check(0,0,2,this);">
                    同意加入
                </a>
            </li>
            <li class="app-main-color">
                <a data-am-modal-close onclick="topic_work_check(0,0,-2,this);">
                    不同意
                </a>
            </li>
        </ul>
    </div>
    <div class="am-modal-actions-group">
        <button class="am-btn am-btn-secondary am-btn-block" data-am-modal-close>取消</button>
    </div>
</div>